//
//  AppDelegate.m
//  PuTie
//
//  Created by 周宏全 on 2017/7/14.
//  Copyright © 2017年 周宏全. All rights reserved.
//

#import "AppDelegate.h"
#import "PTMainNavViewController.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    
    // 1.创建窗口
    self.window = [[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds];
    
    // 2.设置窗口的根控制器
    PTMainNavViewController *navVC = [[PTMainNavViewController alloc]init];
    self.window.rootViewController = navVC;
    
    // 3.显示窗口
    [self.window makeKeyAndVisible];
    
    return YES;
}

@end
